package com.xinxing.city.recovery.entitys;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.xinxing.city.recovery.BR;
@JsonIgnoreProperties(ignoreUnknown = true)
public class SetBase extends BaseObservable {
    private String version;
    private boolean autoUpdata;
    private boolean forceUpdata;
    private boolean configUpdata;
    private boolean ready;

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Bindable
    public boolean isAutoUpdata() {
        return autoUpdata;
    }

    public void setAutoUpdata(boolean autoUpdata) {
        this.autoUpdata = autoUpdata;
        notifyPropertyChanged(BR.autoUpdata);
    }
    @Bindable
    public boolean isForceUpdata() {
        return forceUpdata;
    }

    public void setForceUpdata(boolean forceUpdata) {
        this.forceUpdata = forceUpdata;
        notifyPropertyChanged(BR.forceUpdata);
    }
    @Bindable
    public boolean isConfigUpdata() {
        return configUpdata;
    }

    public void setConfigUpdata(boolean configUpdata) {
        this.configUpdata = configUpdata;
        notifyPropertyChanged(BR.configUpdata);
    }
    @Bindable
    public boolean isReady() {
        return ready;
    }

    public void setReady(boolean ready) {
        this.ready = ready;
        notifyPropertyChanged(BR.ready);
    }
}
